package chapter8;

import java.util.Arrays;

public class Chapter8Main {

    public static void main(String[] args) {
        int[] A = new int[]{6, 0, 2, 0, 1, 3, 4, 6, 1, 3, 2};
        int[] B = new int[A.length];
        int k = 6;
        CountingSort.countingSort(A, B, k);
        System.out.println(Arrays.toString(B));
        double[] A1 = new double[]{0.79, 0.13, 0.16, 0.64, 0.39, 0.20, 0.89, 0.53, 0.71, 0.42};
        double[] C = BucketSort.bucketSort(A1);
        System.out.println(Arrays.toString(C));
        int[] D = new int[]{329, 457, 657, 839, 436, 720, 355};
        RadixSort.radixSort(D, 9, 3);
        System.out.println(Arrays.toString(D));
    }

}
